package com.wsy.wsyojcodesandbox.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExecuteCodeResponse {

    private List<String> outputList;

    /**
     * 接口信息(不属于判题信息，比如沙箱出问题了)
     */
    private String message;

    /**
     * 执行状态: 1 - 成功执行   2 - 代码沙箱错误(编译)  3 - 用户提交的代码出错
     */
    private Integer status;

    /**
     * 判题信息
     */
    private JudgeInfo judgeInfo;
}
